package com.cui.demoshiro.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * Function
 * @author bdqn_hl
 * @date 2014-2-21
 */
public class Function implements Serializable {
	
	private Integer id;
	private String functionCode;
	private String functionName;
	private String funcUrl;
	private int parentId;
	private Date creationTime;


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getFunctionCode() {
		return functionCode;
	}
	public void setFunctionCode(String functionCode) {
		this.functionCode = functionCode;
	}
	public String getFunctionName() {
		return functionName;
	}
	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}
	public String getFuncUrl() {
		return funcUrl;
	}
	public void setFuncUrl(String funcUrl) {
		this.funcUrl = funcUrl;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public Date getCreationTime() {
		return creationTime;
	}
	public void setCreationTime(Date creationTime) {
		this.creationTime = creationTime;
	}

	@Override
	public String toString() {
		return "Function{" +
				"id=" + id +
				", functionCode='" + functionCode + '\'' +
				", functionName='" + functionName + '\'' +
				", funcUrl='" + funcUrl + '\'' +
				", parentId=" + parentId +
				", creationTime=" + creationTime +
				'}';
	}
}
